/*    */ package com.Ticker.elements;
/*    */ 
/*    */ import java.awt.Color;

import net.ledticker.elements.Token;

import com.Ticker.tokens.TextToken;
/*    */ 
/*    */ public class TextTickerElement extends AbstractTickerElement
/*    */ {
/*    */   private TextToken textToken;
/*    */ 
/*    */   public TextTickerElement(String text)
/*    */   {
/* 18 */     super(new Token[1]);
/* 19 */     this.textToken = new TextToken(text);
/*    */ 
/* 21 */     this.tokens[0] = this.textToken;
/*    */   }
/*    */ 
/*    */   public void setText(String text)
/*    */   {
/* 29 */     this.textToken.setValue(text);
/*    */   }
/*    */ 
/*    */   public void setColor(Color color)
/*    */   {
/* 37 */     this.textToken.getColorModel().setColor(color);
/*    */   }
/*    */ }

/* Location:           C:\Users\os\Downloads\TrimOnline.jar
 * Qualified Name:     Ticker.elements.TextTickerElement
 * JD-Core Version:    0.5.4
 */